/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nsip.graph;

import java.awt.Color;

/**
 * Contains information about a graph
 * 
 * @author nico.rehwaldt
 */
public class GraphInfo {
    
    private final String label;
    private final Color color;

    public GraphInfo(String label) {
        this(label, Color.BLACK);
    }
    
    public GraphInfo(String label, Color color) {
        this.label = label;
        this.color = color;
    }

    /**
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * @return the color
     */
    public Color getColor() {
        return color;
    }
}
